package com.xbongbong.paas.pojo.workflow.operate.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * 工作流加签DTO
 * @author 魏荣杰
 *
 */
@Getter
@Setter
public class WorkflowAddSignatureDTO extends BaseDTO {


    private static final long serialVersionUID = -2670302721532551926L;
    /**
     * 流程任务节点id
     */
    @NotNull(message = "{dto.msg.processNodeTaskUpdate.processNodeTaskId.NotNull}")
    private Long taskNodeId;

    @NotNull
    private Long processTaskId;

    /**
     * 被加签的人
     */
    @NotNull
    private Set<String> addUserIds;

    /**
     * 加签类型
     */
    @NotNull
    private Integer signType;


}
